#!/usr/bin/env python
# encoding: utf-8

import string

class PyHomeClass:
	confvars = {}

	def parseConfigFile(self, filename):
		f = open(filename, 'r')
		for line in f:
			if line.find("=")!=-1:
				line = line[:-1]
				line = line.replace(" ","")
				if line[0]!='#':
					self.confvars[line.split("=")[0]]=line.split("=")[1]
					#line.split("=")[0]=line.split("=")[1]

	#print line                         
	#if line[0]!='#' or line[0]!='\n    ':
	#   line = line.replace(" ","")     
	#   print line.split("=")           
  
	#item = (line.lstrip(' ')).rstrip(' ')
	
	def WhoIsIt(self):
		print "Sono PyHome!"